<template>
  <div>
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="date" label="日期" width="180"> </el-table-column>
      <el-table-column prop="name" label="姓名" width="180"> </el-table-column>
      <el-table-column prop="address" label="地址"> </el-table-column>
    </el-table>
    <div>
      <el-pagination background layout="prev, pager, next" :total="total" @current-change="currentChange">
      </el-pagination>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      tableData: [
        {
          date: "2016-05-02",
          name: "TKera",
          address: "1518 弄",
        },
        {
          date: "2016-05-04",
          name: "TKera",
          address: "1517 弄",
        },
        {
          date: "2016-05-01",
          name: "TKera",
          address: "1519 弄",
        },
        {
          date: "2016-05-03",
          name: "TKera",
          address: "1516 弄",
        },
      ],
      total:0
    };
  },
  methods:{
    currentChange(){

    }
  }
};
</script>
